import math
import os
import os.path as osp

code_dir    = osp.dirname(osp.abspath(__file__))
trainsh_path= osp.join(code_dir, 'mytestdata_train.sh')

if __name__ == "__main__":
    for i in range(1, 11):
        CLSNUM = i*20
        for j in range(1, 11):
            EACHNUM = j*20
            cmd_str1= '{} {} {}'.format(trainsh_path, CLSNUM, EACHNUM)
            print('Using cmd as: {}'.format(cmd_str1))
            os.system(cmd_str1)
